// import com.alibaba.druid.sql.ast.SQLExpr;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

#include "MySqlBinlogStatement.h"
#include "../../../../ast/SQLExpr.h"
#include "../../visitor/MySqlASTVisitor.h"

SQLExpr_ptr MySqlBinlogStatement::getExpr()
{
  return expr;
}

void MySqlBinlogStatement::setExpr(SQLExpr_ptr expr)
{
  this->expr = expr;
}

void MySqlBinlogStatement::accept0(MySqlASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(MySqlBinlogStatement)))
  {
    acceptChild(visitor, expr);
  }
  visitor->endVisit(SharedObject(MySqlBinlogStatement));
}
